/**
 * 漆水河 脚手架基础公开课
 * 2022/8/13 --- 2022/12/13
 * 有疑问可加QQ群: 809126489，后续会持续输出与大家一起成长
 */
package com.qishuihe.baseinterface.basevo.vo;


import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@Data
@Api("查询分页结果")
public class ResultPageVO<T> {

    @ApiModelProperty("总数")
    private long total = 0;

    @ApiModelProperty("每页显示条数，默认 10")
    private  long size = 10;

    @ApiModelProperty("当前页")
    private long current = 1;

    @ApiModelProperty("业务查询结果")
    private List<T> records;
}
